package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OMS销售订单明细对象 t_oms_saleorderbillentry
 * 
 * @author ruoyi
 * @date 2023-02-08
 */
public class OmsSaleorderbillentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 父级ID */
    private Long parentid;

    /** OMS项次 */
    @Excel(name = "OMS项次")
    private Long lineno;

    /** 仓库 */
    @Excel(name = "仓库")
    private String facilitycode;

    /** 发货组织 */
    @Excel(name = "发货组织")
    private String deliveryorganization;

    /** 报货类型 */
    @Excel(name = "报货类型")
    private String potype;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String skucode;

    /** 产品特征 */
    @Excel(name = "产品特征")
    private String property;

    /** 产品条码 */
    @Excel(name = "产品条码")
    private String barcode;

    /** 请求数量 */
    @Excel(name = "请求数量")
    private BigDecimal qty;

    /** 实发数量 */
    @Excel(name = "实发数量")
    private BigDecimal shipqty;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unit;

    /** 基本请求数量 */
    @Excel(name = "基本请求数量")
    private BigDecimal baseqty;

    /** 基本实发数量 */
    @Excel(name = "基本实发数量")
    private BigDecimal baseshipqty;

    /** 基本计量单位 */
    @Excel(name = "基本计量单位")
    private String baseunit;

    /** 是否赠品 */
    @Excel(name = "是否赠品")
    private Long isgift;

    /** 不含税单价 */
    @Excel(name = "不含税单价")
    private BigDecimal notaxprice;

    /** 不含税总金额 */
    @Excel(name = "不含税总金额")
    private BigDecimal notaxamount;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal taxprice;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private BigDecimal taxamount;

    /** 税率（%） */
    @Excel(name = "税率", readConverterExp = "%=")
    private BigDecimal taxrate;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal tax;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }
    public void setLineno(Long lineno) 
    {
        this.lineno = lineno;
    }

    public Long getLineno() 
    {
        return lineno;
    }
    public void setFacilitycode(String facilitycode) 
    {
        this.facilitycode = facilitycode;
    }

    public String getFacilitycode() 
    {
        return facilitycode;
    }
    public void setDeliveryorganization(String deliveryorganization) 
    {
        this.deliveryorganization = deliveryorganization;
    }

    public String getDeliveryorganization() 
    {
        return deliveryorganization;
    }
    public void setPotype(String potype) 
    {
        this.potype = potype;
    }

    public String getPotype() 
    {
        return potype;
    }
    public void setSkucode(String skucode) 
    {
        this.skucode = skucode;
    }

    public String getSkucode() 
    {
        return skucode;
    }
    public void setProperty(String property) 
    {
        this.property = property;
    }

    public String getProperty() 
    {
        return property;
    }
    public void setBarcode(String barcode) 
    {
        this.barcode = barcode;
    }

    public String getBarcode() 
    {
        return barcode;
    }
    public void setQty(BigDecimal qty) 
    {
        this.qty = qty;
    }

    public BigDecimal getQty() 
    {
        return qty;
    }
    public void setShipqty(BigDecimal shipqty) 
    {
        this.shipqty = shipqty;
    }

    public BigDecimal getShipqty() 
    {
        return shipqty;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBaseqty(BigDecimal baseqty) 
    {
        this.baseqty = baseqty;
    }

    public BigDecimal getBaseqty() 
    {
        return baseqty;
    }
    public void setBaseshipqty(BigDecimal baseshipqty) 
    {
        this.baseshipqty = baseshipqty;
    }

    public BigDecimal getBaseshipqty() 
    {
        return baseshipqty;
    }
    public void setBaseunit(String baseunit) 
    {
        this.baseunit = baseunit;
    }

    public String getBaseunit() 
    {
        return baseunit;
    }
    public void setIsgift(Long isgift) 
    {
        this.isgift = isgift;
    }

    public Long getIsgift() 
    {
        return isgift;
    }
    public void setNotaxprice(BigDecimal notaxprice) 
    {
        this.notaxprice = notaxprice;
    }

    public BigDecimal getNotaxprice() 
    {
        return notaxprice;
    }
    public void setNotaxamount(BigDecimal notaxamount) 
    {
        this.notaxamount = notaxamount;
    }

    public BigDecimal getNotaxamount() 
    {
        return notaxamount;
    }
    public void setTaxprice(BigDecimal taxprice) 
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice() 
    {
        return taxprice;
    }
    public void setTaxamount(BigDecimal taxamount) 
    {
        this.taxamount = taxamount;
    }

    public BigDecimal getTaxamount() 
    {
        return taxamount;
    }
    public void setTaxrate(BigDecimal taxrate) 
    {
        this.taxrate = taxrate;
    }

    public BigDecimal getTaxrate() 
    {
        return taxrate;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("lineno", getLineno())
            .append("facilitycode", getFacilitycode())
            .append("deliveryorganization", getDeliveryorganization())
            .append("potype", getPotype())
            .append("skucode", getSkucode())
            .append("property", getProperty())
            .append("barcode", getBarcode())
            .append("qty", getQty())
            .append("shipqty", getShipqty())
            .append("unit", getUnit())
            .append("baseqty", getBaseqty())
            .append("baseshipqty", getBaseshipqty())
            .append("baseunit", getBaseunit())
            .append("isgift", getIsgift())
            .append("notaxprice", getNotaxprice())
            .append("notaxamount", getNotaxamount())
            .append("taxprice", getTaxprice())
            .append("taxamount", getTaxamount())
            .append("taxrate", getTaxrate())
            .append("tax", getTax())
            .toString();
    }
}
